//
//  SEGHLBNeighbourhoodListViewModel.h
//  SEGViewModel
//
//  Created by 梁学彰 on 2020/11/17.
//

#import <Foundation/Foundation.h>
#import "SEGSharedNewManager.h"
#import "SEGCommunitySocialManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface SEGHLBNeighbourhoodListViewModel : NSObject
/** 页码  */
@property (nonatomic, assign) NSUInteger pageNo;
/** 范围 1：本社区 3：全平台(默认全平台) */
@property (nonatomic, copy) NSString *scopeType;
#pragma mark - 请求类
/** 请求类 */
@property (nonatomic, strong) SEGSharedNewManager *sharedNewManager;
@property (nonatomic, strong) SEGCommunitySocialManager *socialManager;
/** 是否正在点赞(防止重复调用点赞接口) */
@property (nonatomic, assign) BOOL isLiking;

- (RACSignal *)requsetData;
- (RACSignal *)hlb_cellPraiseButtonActionWithIndexPath:(NSIndexPath *)indexPath;
- (RACSignal *)requesPublishScopeList;

- (RACSignal *)requestPublishList;
- (RACSignal *)refreshListViewWithIndex:(NSIndexPath *)indexPath
                           objId:(NSString *)objId
                         objType:(NSString *)objType
                               isDelete:(BOOL)isDelete;
@end

NS_ASSUME_NONNULL_END
